﻿using Furesoft.Papi.Tokenizer;

namespace Furesoft.Papi.Tokenizer.Basic
{
    /// <summary>
    /// a Token object class
    /// </summary>
    /// <remarks>
    /// A Token object holds the token and token value.
    /// </remarks>
    public class BasicToken
    {
        public BasicTokenParser.Tokens TokenName { get; set; }

        public string TokenValue { get; set; }

        public BasicToken(BasicTokenParser.Tokens name, string value)
        {
            TokenName = name;
            TokenValue = value;
        }
    }
}